#include <stdio.h>

typedef struct
{
	char REDIS_SERVER_HOST[16];
	unsigned int REDIS_SERVER_PORT;
}REDIS_SERVER_CFG;

typedef struct
{
	char WEB_SERVER_HOST[16];
	unsigned int WEB_SERVER_PORT;
	unsigned int EPOLL_SD_SIZE;
	unsigned int EPOLL_FORK_NUM;
	unsigned long APR_SESSION_MAXSIZE;
	unsigned long APR_REQUIRE_MAXSIZE;
	unsigned int REDIS_SERVER_NUM;
	unsigned int REDIS_POOL_SIZE;
	REDIS_SERVER_CFG redis_cfg[10];
}WEB_SERVER_CFG;

extern WEB_SERVER_CFG server_cfg;

//void argv_init(int argc, char** argv);
void InitParam(int argc, char **argv);
